package com.wonder.app.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

/**
 * @Description:TODO(直接调拨单实体类)
 *
 * @author: Wonder
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_stk_transfer")
@ApiModel(value="t_stk_transfer对象", description="直接调拨单")
public class StkTransfer extends Model<StkTransfer> {
    @TableId(value ="id", type = IdType.AUTO)
    @ApiModelProperty(name = "id" , value = "编号")
    private Long id;


    @TableField(value = "FBillNo")
    @ApiModelProperty(name = "FBillNo" , value = "单据编号")
    private String FBillNo;

    @TableField(value = "FKDBILLNO")
    @ApiModelProperty(name = "FKDBILLNO" , value = "金蝶单据编号")
    private String FKDBILLNO;

    @TableField(value = "FBILLNOMO")
    @ApiModelProperty(name = "FBILLNOMO" , value = "生产订单单据编号")
    private String FBILLNOMO;

    @TableField(value = "FCREATEUSER")
    @ApiModelProperty(name = "FCREATEUSER" , value = "创建人")
    private String FCREATEUSER;

    @TableField(value = "FSTATE")
    @ApiModelProperty(name = "FSTATE" , value = "状态")
    private Boolean FSTATE;

    @TableField(value = "FDATE")
    @ApiModelProperty(name = "FDATE" , value = "单据日期")
    private Date FDATE;

    @TableField(value = "CreateTime")
    @ApiModelProperty(name = "CreateTime" , value = "创建时间")
    private Date CreateTime;

    @TableField(value = "FNote")
    @ApiModelProperty(name = "FNote" , value = "备注")
    private String FNote;

    @TableField(value = "FSTOCKPEL")
    @ApiModelProperty(name = "FSTOCKPEL" , value = "仓管员")
    private String FSTOCKPEL;

    @TableField(value = "FINDEPTID")
    @ApiModelProperty(name = "FINDEPTID" , value = "调入部门编码")
    private String FINDEPTID;

    @TableField(value = "FOUTDEPTID")
    @ApiModelProperty(name = "FOUTDEPTID" , value = "调出部门编码")
    private String FOUTDEPTID;

    @TableField(value = "FINDEPTNAME")
    @ApiModelProperty(name = "FINDEPTNAME" , value = "调入部门名称")
    private String FINDEPTNAME;

    @TableField(value = "FOUTDEPTNAME")
    @ApiModelProperty(name = "FOUTDEPTNAME" , value = "调出部门名称")
    private String FOUTDEPTNAME;

    @TableField(exist = false)
    private List<StkTransferDetail> detailList;

}
